-
-
Notifications
You must be signed in to change notification settings - Fork 373
Bump mimimum supported version of numpy #3636
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #3636 +/- ##
==========================================
- Coverage 60.90% 60.89% -0.01%
==========================================
Files 86 86
Lines 10174 10174
==========================================
- Hits 6196 6195 -1
- Misses 3978 3979 +1 🚀 New features to boost your workflow:
|
|
No worries! As you can see that PR is mostly other things anyway |
| matrix: | ||
| python-version: ['3.11', '3.12', '3.13'] | ||
| numpy-version: ['1.26', '2.2'] | ||
| numpy-version: ['2.0', '2.2'] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After setting the minimum version to 2.0, do we still need different numpy versions in the test matrix?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @dstansby! We should decide on a testing strategy for different numpy versions, but that shouldn't stop this PR.
Since it's been about six months since SPEC recommended removing support for NumPy 1.26, this bumps the minimum version to 2.0. This duplicates work in #3564, but I figured that it might be easier to do the version bumps (numpy and Python) independently since #3564 appears to have grown in scope quite a bit. ping @ilan-gold - I hope that's okay?
My motivation for doing this is the slowest test in the matrix seems to be the one with NumPy 1.26, so I'm hoping this improves the total time GH actions takes to run all the tests to completion.